package cn.wenhaha.app.log.bean;

import cn.wenhaha.sync.core.SyncReport;
import lombok.Builder;
import lombok.Data;

/**
 * 记录日志
 * --------
 *
 * @author ：wyndem
 * @Date ：Created in 2022-12-17 17:51
 */
@Data
@Builder
public class LogRow {

    private String  mappingName;
    private Integer mappingId;
    private String nameData;
    private String nameUpload;
    private SyncReport syncReport;
    private ReportErrorType errorType;

    /** 是否成功  SyncLogReportHandler 来处理**/
    private  boolean success;


    public String getId() {
        return mappingId + nameData + nameUpload;
    }
}
